package com.grq.framework.core.base;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class BaseEntity implements Serializable {

    protected Map<String, Object> extra = new HashMap<>();

    public Map<String, Object> getExtra() {
        return extra;
    }

    public Object get(String key){
        return this.extra.get(key);
    }

    public void set(String key,Object data){
        this.extra.put(key,data);
    }
}
